package com.jiechuang.common.config;

public class MyThreadLocal {
    private static final ThreadLocal CONTEXT_HOLDER = new ThreadLocal();

    public static Object getDatabaseType() {
        return CONTEXT_HOLDER.get();
    }

    public static void setDatabaseType(Object object) {
        CONTEXT_HOLDER.set(object);
    }

    public static void remove() {
        CONTEXT_HOLDER.remove();
    }
}
